#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{
	int num = 0;
	int check = 0;
	int flag = 0;
	for (num = 100; num <= 200; num++)
	{
		for (check = 2; check < num; check++)
		{
			flag = 1;
			if (num % check == 0)
			{
				flag = 0;
				break;
			}

		}
		if (1 == flag)
			printf("%d ", num);
	}
	return 0;
}